package com.trace.app.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.trace.app.entity.Record;
import com.trace.app.entity.ResponseResult;


/**
 * (Record)表服务接口
 *
 * @author lionkliu
 * @since 2024-03-17 15:55:23
 */
public interface RecordService extends IService<Record> {
    ResponseResult selectPage(Integer pageNum, Integer pageSize);

    ResponseResult selectOne(Integer id);

    ResponseResult insertOne(Record record);

    ResponseResult deleteById(Integer id);

    ResponseResult updateOne(Record record);

    ResponseResult getRecordsByProId(Integer rawId);

    ResponseResult getRecordsByUserId(Integer userId);

    ResponseResult search(Integer pageNum, Integer pageSize, Integer userId, Integer rawId);
}

